package com.plant.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * DbsetUserLevel entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "dbset_user_level", catalog = "mr_plants")
public class DbsetUserLevel implements java.io.Serializable {

	// Fields

	private Integer id;
	private String levelName;

	// Constructors

	/** default constructor */
	public DbsetUserLevel() {
	}

	/** full constructor */
	public DbsetUserLevel(String levelName) {
		this.levelName = levelName;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "level_name", nullable = false, length = 32)
	public String getLevelName() {
		return this.levelName;
	}

	public void setLevelName(String levelName) {
		this.levelName = levelName;
	}

}